package com.crm.dao.mapper.customMapper.customerManagerCustomMapper;

import com.crm.model.entity.customerManager.CustomerRawData;
import com.crm.model.qo.customerManager.CustomerRawDataQO;
import com.crm.model.vo.customerManager.CustomerRawDataVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ Author ：pym
 * @ Date   ：2021/7/14 12:31
 */
public interface CustomerRawDataCustomMapper {

    /**
     * 根据统一社会信用代码查询客户原始数据
     * @Author pym
     * @Date  2021/7/14 13:00
     * @param unifiedSocialCreditCode 统一社会信用代码
     * @return {@link {java.util.List<com.crm.model.entity.customerManager.CustomerRawData>}}
     */
    List<CustomerRawData> selectCustomerRawDataByUnifiedSocialCreditCode(@Param("unifiedSocialCreditCode")  String unifiedSocialCreditCode);

    /**
     * 客户原始数据
     * @Author pym
     * @Date  2021/7/20 11:04
     * @param customerRawDataQO -查询条件
     * @return {@link {java.util.List<com.crm.model.vo.customerManager.CustomerRawDataVO>}}
     */
    List<CustomerRawDataVO> selectCustomerRawDataList(@Param("customerRawDataQO") CustomerRawDataQO customerRawDataQO);
}
